Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ml model): updating view of ml model feature list #6576

Conversation

gabe-lyons
Copy link
Contributor

@gabe-lyons gabe-lyons commented Nov 30, 2022

Updates the view of the ml model's features to align with feature table list. Refactors the code of MlFeatureTableFeatures.tsx to factor out the table itself into a reusable component.

CleanShot 2022-11-29 at 16 15 22

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions github-actions bot added the product PR or Issue related to the DataHub UI/UX label Nov 30, 2022
@github-actions
Copy link

github-actions bot commented Nov 30, 2022

Unit Test Results (build & test)

621 tests  ±0   617 ✔️ ±0   15m 35s ⏱️ -11s
157 suites ±0       4 💤 ±0 
157 files   ±0       0 ±0 

Results for commit e627499. ± Comparison against base commit f63c3e5.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@aditya-radhakrishnan aditya-radhakrishnan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but if we could rename that one field that would be great

width: 125,
title: 'Terms',
dataIndex: 'glossaryTerms',
key: 'glossarTerms',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this misnamed?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I see it's like that in the original as well. Can we change it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

@@ -8,7 +8,21 @@ query getMLModel($urn: String!) {
...partialLineageResults
}
features: relationships(input: { types: ["Consumes"], direction: OUTGOING, start: 0, count: 100 }) {
...fullRelationshipResults
start
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice presumably this reduces latency?

@gabe-lyons gabe-lyons merged commit 779d1cf into datahub-project:master Dec 2, 2022
cccs-Dustin pushed a commit to CybercentreCanada/datahub that referenced this pull request Feb 1, 2023
…ct#6576)

* updating view of ml model feature list

* Update TableOfMlFeatures.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR or Issue related to the DataHub UI/UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants